package com.tn.bo;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Entity;

@Entity
public class UserProfileCurrentProperties {
	@Id
	private String id; //Prop+profileId+companyId
	
	//Purchase Order Privileges
	private boolean createPO;
	private boolean receivePO;
	private boolean changePO;
	private boolean cancelPO;
	
	//Invoice Privileges
	private boolean createInvoices;
	private boolean receiverInvoices;
	private boolean approveInvoices;
	private boolean rejectInvoices;
	
	//Credit Memo Privileges;
	private boolean createMemos;
	private boolean receiverMemos;
	private boolean approveMemos;
	private boolean rejectMemos;
	
	//Payment Privileges
	private boolean postPayments;
	private boolean receivePayments;
	private boolean updatePayments;
	
	private boolean superUser;
	private boolean restrictByDocNumber;
	
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean isCreatePO() {
		return createPO;
	}

	public void setCreatePO(boolean createPO) {
		this.createPO = createPO;
	}

	public boolean isReceivePO() {
		return receivePO;
	}

	public void setReceivePO(boolean receivePO) {
		this.receivePO = receivePO;
	}

	public boolean isChangePO() {
		return changePO;
	}

	public void setChangePO(boolean changePO) {
		this.changePO = changePO;
	}

	public boolean isCancelPO() {
		return cancelPO;
	}

	public void setCancelPO(boolean cancelPO) {
		this.cancelPO = cancelPO;
	}

	public boolean isCreateInvoices() {
		return createInvoices;
	}

	public void setCreateInvoices(boolean createInvoices) {
		this.createInvoices = createInvoices;
	}

	public boolean isReceiverInvoices() {
		return receiverInvoices;
	}

	public void setReceiverInvoices(boolean receiverInvoices) {
		this.receiverInvoices = receiverInvoices;
	}

	public boolean isApproveInvoices() {
		return approveInvoices;
	}

	public void setApproveInvoices(boolean approveInvoices) {
		this.approveInvoices = approveInvoices;
	}

	public boolean isRejectInvoices() {
		return rejectInvoices;
	}

	public void setRejectInvoices(boolean rejectInvoices) {
		this.rejectInvoices = rejectInvoices;
	}

	public boolean isCreateMemos() {
		return createMemos;
	}

	public void setCreateMemos(boolean createMemos) {
		this.createMemos = createMemos;
	}

	public boolean isReceiverMemos() {
		return receiverMemos;
	}

	public void setReceiverMemos(boolean receiverMemos) {
		this.receiverMemos = receiverMemos;
	}

	public boolean isApproveMemos() {
		return approveMemos;
	}

	public void setApproveMemos(boolean approveMemos) {
		this.approveMemos = approveMemos;
	}

	public boolean isRejectMemos() {
		return rejectMemos;
	}

	public void setRejectMemos(boolean rejectMemos) {
		this.rejectMemos = rejectMemos;
	}

		public boolean isPostPayments() {
		return postPayments;
	}

	public void setPostPayments(boolean postPayments) {
		this.postPayments = postPayments;
	}

	public boolean isReceivePayments() {
		return receivePayments;
	}

	public void setReceivePayments(boolean receivePayments) {
		this.receivePayments = receivePayments;
	}

	public boolean isUpdatePayments() {
		return updatePayments;
	}

	public void setUpdatePayments(boolean updatePayments) {
		this.updatePayments = updatePayments;
	}

	public boolean isSuperUser() {
		return superUser;
	}

	public void setSuperUser(boolean superUser) {
		this.superUser = superUser;
	}

	public boolean isRestrictByDocNumber() {
		return restrictByDocNumber;
	}

	public void setRestrictByDocNumber(boolean restrictByDocNumber) {
		this.restrictByDocNumber = restrictByDocNumber;
	}
	

	
}
